<include file="Public:head" />
<include file="Public:header" />
<include file="Public:left" />
<section id='content'>
    <div class='container-fluid'>
        <div class='row-fluid' id='content-wrapper'>
            <div class='span12'>
                <div class='row-fluid'>
                    <div class='span12'>
                        <div class='page-header'>
                            <h1 class='pull-left'>
                                <i class='icon-ok'></i>
                                <span>添加职位</span>
                            </h1>
                        </div>
                    </div>
                </div>
                <div class='row-fluid'>
                    <div class='span12 box'>
                        <div class='box-header blue-background'>
                            <div class='title'>添加职位</div>
                        </div>
                        <div class='box-content'>
                            <form class='form form-horizontal validate-form' style='margin-bottom: 0;' action="{:U('Position/add_position')}" method="post"/>
                            <notempty name="Think.get.hid">
                                <input type="hidden" value="{$Think.get.hid}" name="hid">
                                <else/>
                            <div class='control-group'>
                                    <label class='control-label' for='hid'>所属行业</label>
                                    <div class='controls'>
                                        <select data-rule-required='true' id='hid' name='hid'>
                                            <volist name="list" id="vo">
                                            <option value="{$vo.id}"/>{$vo.h_name}
                                            </volist>
                                        </select>
                                    </div>
                                </div>
                            </notempty>
                                <div class='control-group'>
                                    <label class='control-label' for='p_name'>职位名称</label>
                                    <div class='controls'>
                                        <input data-rule-minlength='2' data-rule-required='true' id='p_name' name='p_name' placeholder='名称' type='text' />
                                    </div>
                                </div>
                                
                                <div class='form-actions' style='margin-bottom:0'>
                                    <button class='btn btn-primary' type='submit'>
                                        <i class='icon-save'></i>
                                        保存
                                    </button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
                
            </div>
        </div>
    </div>
</section>
</div>
<include file="Public:bottom" />
<script type="text/javascript">
    $(document).ready(function () {
      $("ul[class='nav nav-stacked']").removeClass('in');
      $("#setting").addClass('in');
      $("li[class='guan']").removeClass('active');
      $("#position").addClass('active');
    });
</script>